package py.com.fms.ven.bean;

import java.io.Serializable;
import java.math.BigDecimal;

import py.com.fms.fms.bean.IvaBean;
import py.com.fms.fms.bean.MeasureUnitBean;
import py.com.fms.prd.bean.SuppliesBean;

public class SalesDetBean implements Serializable  {


	/**
	 * 
	 */
	private static final long serialVersionUID = -6233285567680654134L;
	private Long id;
	private Long idHead;
	private Long item;
	private Long saleProduct;
	private Long measureUnit;
	private Long tax;
	private Double quantity;
	private Double basicQuantities;
	private BigDecimal basicPrice;
	private BigDecimal discount; // Descuento que hace el proveedor
	private BigDecimal charge; //recargo
	private BigDecimal netCost; //
	private BigDecimal averageCost; //
	private BigDecimal taxedAmount; // gravada
	private BigDecimal taxAmount; // iva
	private BigDecimal exemptAmount; //exenta
	private BigDecimal itemAmount;
	
	private MeasureUnitBean measureUnitData;
	private IvaBean taxData;
	private SuppliesBean supplyData; // CAMBIAR POR PRODUCTO
	
	private Boolean selected;
    
	

	// GETERS AND SETERS
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getIdHead() {
		return idHead;
	}

	public void setIdHead(Long idHead) {
		this.idHead = idHead;
	}

	public Long getItem() {
		return item;
	}

	public void setItem(Long item) {
		this.item = item;
	}

	public Long getSaleProduct() {
		return saleProduct;
	}

	public void setSaleProduct(Long saleProduct) {
		this.saleProduct = saleProduct;
	}

	public Long getMeasureUnit() {
		return measureUnit;
	}

	public void setMeasureUnit(Long measureUnit) {
		this.measureUnit = measureUnit;
	}

	public Long getTax() {
		return tax;
	}

	public void setTax(Long tax) {
		this.tax = tax;
	}

	public Double getQuantity() {
		return quantity;
	}

	public void setQuantity(Double quantity) {
		this.quantity = quantity;
	}

	public Double getBasicQuantities() {
		return basicQuantities;
	}

	public void setBasicQuantities(Double basicQuantities) {
		this.basicQuantities = basicQuantities;
	}

	public BigDecimal getBasicPrice() {
		return basicPrice;
	}

	public void setBasicPrice(BigDecimal basicPrice) {
		this.basicPrice = basicPrice;
	}

	public BigDecimal getDiscount() {
		return discount;
	}

	public void setDiscount(BigDecimal discount) {
		this.discount = discount;
	}

	public BigDecimal getCharge() {
		return charge;
	}

	public void setCharge(BigDecimal charge) {
		this.charge = charge;
	}

	public BigDecimal getNetCost() {
		return netCost;
	}

	public void setNetCost(BigDecimal netCost) {
		this.netCost = netCost;
	}

	public BigDecimal getAverageCost() {
		return averageCost;
	}

	public void setAverageCost(BigDecimal averageCost) {
		this.averageCost = averageCost;
	}

	public BigDecimal getTaxedAmount() {
		return taxedAmount;
	}

	public void setTaxedAmount(BigDecimal taxedAmount) {
		this.taxedAmount = taxedAmount;
	}

	public BigDecimal getTaxAmount() {
		return taxAmount;
	}

	public void setTaxAmount(BigDecimal taxAmount) {
		this.taxAmount = taxAmount;
	}

	public BigDecimal getExemptAmount() {
		return exemptAmount;
	}

	public void setExemptAmount(BigDecimal exemptAmount) {
		this.exemptAmount = exemptAmount;
	}

	public BigDecimal getItemAmount() {
		return itemAmount;
	}

	public void setItemAmount(BigDecimal itemAmount) {
		this.itemAmount = itemAmount;
	}

	public MeasureUnitBean getMeasureUnitData() {
		return measureUnitData;
	}

	public void setMeasureUnitData(MeasureUnitBean measureUnitData) {
		this.measureUnitData = measureUnitData;
	}

	public IvaBean getTaxData() {
		return taxData;
	}

	public void setTaxData(IvaBean taxData) {
		this.taxData = taxData;
	}

	public Boolean getSelected() {
		return selected;
	}

	public void setSelected(Boolean selected) {
		this.selected = selected;
	}

	public void setSupplyData(SuppliesBean supplyData) {
		this.supplyData = supplyData;
	}

	public SuppliesBean getSupplyData() {
		return supplyData;
	}


}
